﻿using Client.ResponseProgress;

namespace Progress;

public partial class HistoryResponse : IProgressMessage<HistoryResult, int>
{
    bool IProgressMessage<HistoryResult, int>.IsProgress => ResponseTypeCase == ResponseTypeOneofCase.Progress;

    bool IProgressMessage<HistoryResult, int>.IsResult => ResponseTypeCase == ResponseTypeOneofCase.Result;
}
